package com.cax.module.tran.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cax.module.tran.domain.TrainCertificate;
import com.cax.module.tran.domain.dto.TrainCertificateAddOrUpdDTO;
import com.cax.module.tran.domain.vo.TrainCertificateVO;
import com.cax.module.tran.domain.dto.TrainCertificatePageQueryDTO;
import java.util.List;

/**
 * 培训证书管理表 Service接口
 * @author makejava
 * @date 2024-09-24 11:31:31
 */
public interface TrainCertificateService extends IService<TrainCertificate> {

	/**查询所有*/
	List<TrainCertificateVO> getAll();

	 /**分页查询*/
    Page<TrainCertificate> getPage(TrainCertificatePageQueryDTO dto);

	/**通过主键查询*/
	TrainCertificateVO getByKey(Integer id);

	/**通过姓名、身份证精确查询*/
	List<TrainCertificateVO> getByNameIdentityCard(String name,String identityCard);

	/**添加*/
	Integer add(TrainCertificateAddOrUpdDTO dto);

	/**通过主键修改*/
	void upd(TrainCertificateAddOrUpdDTO dto);

	void del(Integer id);

}
